import {NgModule} from '@angular/core';
import {BrowserModule} from '@angular/platform-browser';

import {AppComponent} from './app.component';
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
import {NewsComponent} from './news/news.component';
import {UserComponent} from './user/user.component';
import {RankingComponent} from './ranking/ranking.component';
import {TopMenuComponent} from './top-menu/top-menu.component';
import {MobileMenuComponent} from './mobile-menu/mobile-menu.component';
import {AppRoutingModule} from './app-routing.module';
import {MatButtonModule} from "@angular/material/button";
import {MatIconModule} from "@angular/material/icon";
import {MatButtonToggleModule} from "@angular/material/button-toggle";
import {MatCardModule} from "@angular/material/card";
import {HttpClientModule} from "@angular/common/http";
import {MatFormFieldModule} from "@angular/material/form-field";
import {MatInputModule} from "@angular/material/input";
import {FormsModule} from "@angular/forms";
import { RegisterComponent } from './login/register.component';

@NgModule({
  declarations: [
    AppComponent,
    NewsComponent,
    UserComponent,
    RankingComponent,
    TopMenuComponent,
    MobileMenuComponent,
    RegisterComponent
  ],
  imports: [
    BrowserModule,
    BrowserAnimationsModule,
    HttpClientModule,
    AppRoutingModule,
    MatButtonModule,
    MatIconModule,
    MatButtonToggleModule,
    MatCardModule,
    MatFormFieldModule,
    MatInputModule,
    FormsModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule {
}
